const Index = {
    scroll(_this,e){
        wx.getSystemInfo({
            success: ({ windowHeight }) => {
                const gotTop = _this.selectComponent('#gotop')
                gotTop.show(e.scrollTop > windowHeight)
            }
        })
    }
}

module.exports = Index